package com.designpatterns.factory.factory3;

import com.designpatterns.factory.factory3.stroe.ChicagoBasePizzaStore;
import com.designpatterns.factory.factory3.stroe.NyBasePizzaStore;
import com.designpatterns.factory.factory3.stroe.BasePizzaStore;

/**
 * @author Brook
 */
public class Test {
    public static void main(String[] args) {
        BasePizzaStore nyBasePizzaStore = new NyBasePizzaStore();
        nyBasePizzaStore.orderPizza("cheese");
        System.out.println("------------------------------------------");
        nyBasePizzaStore.orderPizza("clam");


        System.out.println("------------------------------------------");
        BasePizzaStore chicagoPizzaStore = new ChicagoBasePizzaStore();
        chicagoPizzaStore.orderPizza("clam");

    }
}
